package com.frank.libandroid.util.net;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

public class RetrofitUtil {

    public static Retrofit getGsonRetrofit(String url) {
        Retrofit retrofit = new Retrofit.Builder().client(com.frank.libandroid.RetrofitUtil.getClient())
                .baseUrl(url).addConverterFactory(GsonConverterFactory.create())
                .build();
        return retrofit;
    }
}
